<%--
  Created by IntelliJ IDEA.
  User: You
  Date: 2020/5/28
  Time: 11:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*,com.xingyun.info_manager.entity.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title></title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>
<body>
<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

<div class="layui-container">
    <hr class="layui-bg-gray"/>
    <div class="layui-row">
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm3">
            <span style="color:indianred">姓名:</span>${patientInfo.patName}
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">性别:</span>
            <c:choose>
                <c:when test="${patientInfo.gender == 1}">男</c:when>
                <c:otherwise>女</c:otherwise>
            </c:choose>
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">年龄:</span>${patientInfo.age}
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">手机号:</span>${patientInfo.phone}
        </div>
    </div>
    <hr class="layui-bg-green"/>
    <div class="layui-row">
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm3">
            <span style="color:indianred">微信:</span>${patientInfo.wechat}
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">咨询方式:</span>
            <c:choose>
                <c:when test="${patientInfo.consultType == 1}">商务通</c:when>
                <c:when test="${patientInfo.consultType == 2}">电话</c:when>
                <c:when test="${patientInfo.consultType == 3}">市场电话</c:when>
                <c:when test="${patientInfo.consultType == 4}">商转微</c:when>
                <c:when test="${patientInfo.consultType == 5}">微信</c:when>
                <c:otherwise>其他</c:otherwise>
            </c:choose>
        </div>
        <div class="layui-col-sm6">
            <span style="color:indianred">患者情况:</span>${patientInfo.patSituation}
        </div>

    </div>
    <hr class="layui-bg-green"/>
    <div class="layui-row">
        <div class="layui-col-sm3">
            <span style="color:indianred">预约科室:</span>${patientInfo.appointDept}
        </div>
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm3">
            <span style="color:indianred">病种:</span>${patientInfo.diseaseEntities}
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">预约时间:</span><fmt:formatDate value="${patientInfo.appointTime}" pattern="yyyy-MM-dd"/>
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">是否来院:</span>
            <c:choose>
                <c:when test="${patientInfo.isComeHospital == 1}">是</c:when>
                <c:when test="${patientInfo.isComeHospital == 2}">否</c:when>
                <c:otherwise>其他</c:otherwise>
            </c:choose>
        </div>
    </div>
    <hr class="layui-bg-green"/>
    <div class="layui-row">
        <div class="layui-col-sm6">
            <span style="color:indianred">患者意向:</span>${patientInfo.patIntention}
        </div>
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm6">
            <span style="color:indianred">未到院回访情况:</span>${patientInfo.notComeReason}
        </div>
    </div>
    <hr class="layui-bg-green"/>
    <div class="layui-row">
        <div class="layui-col-sm3">
            <span style="color:indianred">接诊医生:</span>${patientInfo.attendDoctor}
        </div>
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm3">
            <span style="color:indianred">治疗项目:</span>${patientInfo.treatmentItems}
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">是否住院:</span>
            <c:choose>
                <c:when test="${patientInfo.isInHospital == 1}">是</c:when>
                <c:when test="${patientInfo.isInHospital == 2}">否</c:when>
                <c:otherwise>其他</c:otherwise>
            </c:choose>
        </div>
        <div class="layui-col-sm3">
            <span style="color:indianred">消费金额:</span>${patientInfo.totalMoney}
        </div>
    </div>
    <hr class="layui-bg-green"/>
    <div class="layui-row">
        <div class="layui-col-sm4">
            <span style="color:indianred">是否复诊:</span>
            <c:choose>
                <c:when test="${patientInfo.subsequentVisit == 1}">是</c:when>
                <c:when test="${patientInfo.subsequentVisit == 2}">否</c:when>
                <c:otherwise>其他</c:otherwise>
            </c:choose>
        </div>
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm4">
            <span style="color:indianred">是否需要回访:</span>
            <c:choose>
                <c:when test="${patientInfo.returnVisit == 1}">是</c:when>
                <c:when test="${patientInfo.returnVisit == 2}">否</c:when>
                <c:otherwise>其他</c:otherwise>
            </c:choose>
        </div>
        <div class="layui-col-sm4">
            <span style="color:indianred">信息状态:</span>
            <c:choose>
                <c:when test="${patientInfo.patState == 1}">正常</c:when>
                <c:otherwise>作废</c:otherwise>
            </c:choose>
        </div>

    </div>
    <hr class="layui-bg-green"/>
    <div class="layui-row">
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm4">
            <span style="color:indianred">创建人:</span>${patientInfo.createUser}
        </div>
        <div class="layui-col-sm4">
            <span style="color:indianred">创建渠道:</span>
            <c:choose>
                <c:when test="${patientInfo.createChannelNo == 0}">全渠道</c:when>
                <c:when test="${patientInfo.createChannelNo == 1}">院内渠道</c:when>
                <c:when test="${patientInfo.createChannelNo == 2}">市场渠道</c:when>
                <c:when test="${patientInfo.createChannelNo == 3}">网络渠道</c:when>
                <c:otherwise></c:otherwise>
            </c:choose>
        </div>
        <div class="layui-col-sm4">
            <span style="color:indianred">创建时间:</span><fmt:formatDate value="${patientInfo.createTime}" pattern="yyyy-MM-dd"/>
        </div>
    </div>
    <hr class="layui-bg-green"/>
    <div class="layui-row">
        <%--<p><c:out value="${patientInfo}"></c:out></p>--%>
        <div class="layui-col-sm4">
            <span style="color:indianred">修改人:</span>${patientInfo.updateUser}
        </div>
        <div class="layui-col-sm4">
            <span style="color:indianred">修改渠道:</span>
            <c:choose>
                <c:when test="${patientInfo.updateChannelNo == 0}">全渠道</c:when>
                <c:when test="${patientInfo.updateChannelNo == 1}">院内渠道</c:when>
                <c:when test="${patientInfo.updateChannelNo == 2}">市场渠道</c:when>
                <c:when test="${patientInfo.updateChannelNo == 3}">网络渠道</c:when>
                <c:otherwise></c:otherwise>
            </c:choose>
        </div>
        <div class="layui-col-sm4">
            <span style="color:indianred">修改时间:</span><fmt:formatDate value="${patientInfo.updateTime}" pattern="yyyy-MM-dd"/>
        </div>
    </div>
    <hr class="layui-bg-green"/>
</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/javascript/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/layui/layui.all.js"></script>
<script>

</script>
</body>
</html>
